package cn.droidlover.xdroidmvp.mvp;

import android.os.Bundle;
import android.view.View;

/**
 * Created by wanglei on 2016/12/29.
 */

public interface IView<P> {
    void bindUI(View rootView);

    void bindEvent();

    void initData(Bundle savedInstanceState);

    int getOptionsMenuId();

    int getContentViewId();

    void initView();

    void getIntentData();

    void twinkCompleted();

    void showMainView();

    boolean showNoNetPage();

    boolean showNoDataPage();

    void showToast(String message);

    boolean useEventBus();

    void disLoadDialog();

    void loadFail();

    void toLogin();

    P newP();
}
